package cn.kgc.service.hr;

import cn.kgc.pojo.Department;
import cn.kgc.pojo.Dict;
import cn.kgc.pojo.Leaveapply;
import cn.kgc.pojo.Travelrequest;

import java.util.List;

/**
 * @author: wang
 * @date: 2022/2/10
 * @description:
 */
public interface QingJiaService {
    List<Dict> selDictQ(Integer id);
    Department selZhiW(Integer id);
    String selShen(Integer id);
    List<String> selName(Integer id);
    boolean addLe(Leaveapply leaveapply);
    boolean addTr(Travelrequest travelrequest);
    List<Leaveapply> selBy(Integer id,Integer state);
    List<Travelrequest> selByTr(Integer id, Integer state);
    boolean updLe(Integer id);
    boolean updTr(Integer id);
    Travelrequest selBytr(Integer id);
    Leaveapply selByle(Integer id);
}
